$bgColor = #00afc7
$txtOverflow()
  white-space: nowrap
  text-overflow: ellipsis
  overflow: hidden
$tag($txt, $color1, $color2)
  content: $txt;
  position: absolute;
  width: .84rem;
  height: .4rem;
  background-image: linear-gradient(to bottom right,$color1, $color2);
  border-radius: .06rem
  line-height: .4rem;
  color: #fff;
  font-weight: 600;
  top: -3px;
$hobby-tag($bgColor)
  background-color: $bgColor;
  width: 1rem;
  height: .4rem;
  line-height: .4rem;
  border-bottom-right-radius: .2rem;
  font-size: .20rem;
  color: #fff;
